@font-face {
  font-family: "Nitti";
  src: url('fonts/nitti-normal.woff');
}

@font-face {
  font-family: "Nitti Grotesk";
  src: url('fonts/nittigrotesk-normal.woff');
}

@font-face {
  font-family: "Nitti Grotesk";
  font-weight: bold;
  src: url('fonts/nittigrotesk-medium.woff');
}

@font-face
{
  font-family: 'dotsfont';
  src: url('fonts/dotsfont/dotsfont.eot');
  src: url('fonts/dotsfont/dotsfont.eot?#iefix') format('embedded-opentype'),
  url('fonts/dotsfont/dotsfont.svg#dotsfontregular') format('svg'),
  url('fonts/dotsfont/dotsfont.woff') format('woff'),
  url('fonts/dotsfont/dotsfont.ttf') format('truetype');
}

html {
  height: 100%;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0 auto;
  min-height: 100%;
  min-width: $minWidth;
  color: $text-color;
}

#root {
  display: flex;
  flex-direction: column;
  flex: 1;

  > div {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
}

:focus, .focus {
  outline: none !important;
}

.jumbotron p {
  margin-bottom: 0;
  color: $gray-light;
}

p {
  line-height: 1.5;
  margin-bottom: $grid-gutter-width/2;
}

label{
  font-weight: 500;
}

b, strong{
  font-weight: 600;
}

.flex-container {
  display: flex;
  flex-direction: column;
  flex: 1;
}

pre{
 font-size: $font-size-nav;
}

.btn-primary,
.btn-default {
  height: 36px;
  padding: 0 20px;
  border-radius: $border-radius-standard;
}

.btn-primary {
  border-color: $highlight-default;
  color: $text-inverse-color;
  background-color: $highlight-default;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:active:hover,
.btn-primary:focus,
.btn-primary:active:focus,
.btn-primary:focus, .btn-primary.focus
.btn-primary:active.focus, .btn-primary.active:hover,
.btn-primary.active:focus, .btn-primary.active.focus {
  text-decoration: none;
  color: $text-inverse-color;
  background: $highlight-secondary;
  border-color: $highlight-secondary;
}

.btn-default {
  background-color: $background-color;
  border-color: $border-strong-color;
}
.btn-default:active:hover,
.btn-default:hover,
.btn-default:focus,
.btn-default:active:focus,
.btn-default:focus, .btn-default.focus
.btn-default:active.focus, .btn-default.active:hover,
.btn-default.active:focus, .btn-default.active.focus,
.open > .btn-default.dropdown-toggle:hover,
.open > .btn-default.dropdown-toggle:focus, .open > .btn-default.dropdown-toggle.focus {
  color: $text-strong-color;
  background-color: $background-content-color;
  border-color: $border-strong-color;
}

a:hover,
a:focus {
  color: $highlight-secondary;
  text-decoration: none;
}

.form-control {
  height: 36px;
  &:focus {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 2px rgba(37, 123, 242, 0.6);
  }
}
.help-block {
  color: $text-light-color;
}
.jumbotron {
  background: transparent;
}
.btn-lg {
  height: 44px;
  font-size: $font-size-btn-lg;
}
.label-primary {
  color: $text-color;
  background: $background-emphasis-color;
  border: 1px solid transparentize($border-color, 0.5);
}
.close {
  text-shadow: none;
  font-size: $font-size-close;
  font-weight: normal;
}

.text-danger{
  color: $text-danger;
}

div.react-console-prompt-box {
  padding-top: 1em;
  color: #444;
}

span.react-console-prompt-label {
  font-weight: bold;
}

div.react-console-focus span.react-console-cursor {
  background: #333;
  color: #eee;
}

div.react-console-nofocus span.react-console-cursor {
  background: none;
  color: #444;
  outline: 0.1em solid #333;
  outline-offset: -0.1em;
}

div.react-console-focus span.react-console-cursor-idle {
  animation: react-console-cursor-animation 1s infinite;
}

@keyframes react-console-cursor-animation {
  0% {
    background: #333;
    color: #eee; }
  50% {
    background: #333;
    color: #eee; }
  51% {
    background: none;
    color: #444; }
  100% {
    background: none;
    color: #444; } }

div.react-console-message,
span.react-console-prompt {
  white-space: pre-wrap;      /* CSS3 */
  white-space: -moz-pre-wrap; /* Firefox */
  white-space: -pre-wrap;     /* Opera <7 */
  white-space: -o-pre-wrap;   /* Opera 7 */
  word-wrap: break-word;      /* IE */
  padding: 0.1em;
}

div.react-console-message-Error{
  color: $text-danger;
}

input[type=range] {
  height: 34px;
  -webkit-appearance: none;
}
input[type=range]:focus {
  outline: none;
}

//Chrome
input[type=range]::-webkit-slider-runnable-track {
  height: 7px;
  cursor: pointer;
  animate: 0.2s;
  background: #e4e4e4;
}
input[type=range]::-webkit-slider-thumb {
  height: 18px;
  width: 18px;
  border-radius: 15px;
  background: $highlight-default;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -6px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #e4e4e4;
}

//Firefox
input[type=range]::-moz-range-track {
  height: 7px;
  cursor: pointer;
  animate: 0.2s;
  background: #e4e4e4;
}
input[type=range]::-moz-range-thumb {
  border: none;
  height: 18px;
  width: 18px;
  border-radius: 15px;
  background: $highlight-default;
  cursor: pointer;
}

//IE
input[type=range]::-ms-track {
  height: 7px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #e4e4e4;
  border-radius: 2px;
}
input[type=range]::-ms-fill-upper {
  background: #e4e4e4;
  border-radius: 2px;
}
input[type=range]::-ms-thumb {
  margin-top: 1px;
  height: 18px;
  width: 18px;
  border-radius: 15px;
  background: $highlight-default;
  cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
  background: $highlight-default;
}
input[type=range]:focus::-ms-fill-upper {
  background: #e4e4e4;
}
